XQuery Translation to Sem-SQL
نویسندگان
چکیده
XML query translation is an inevitable step involved in using non-XML databases storing XML data. In this paper, we address the XQuery to Sem-SQL translation issue, part of the XML storage and retrieval using the Semantic Binary Object-Oriented Database System (Sem-ODB) project, by providing a high-level description of the translation scheme between XQuery and Sem-SQL. Our translation scheme utilizes the navigation-oriented paradigm of Sem-SQL in translating XQuery path expressions to avoid excessive joins. Our approach can deal with all recursive path expressions without requiring the underlying database system to support recursive queries. We also extend the sorted outer union approach with consideration on user-defined orderings.
منابع مشابه
A Peformant XQuery to SQL Translator
We describe a largely complete and efficient XQuery to SQL translation for XML publishing. Our translation supports the entire XQuery language, except for functions, if statements and upwards navigation axes. The system has three important properties. First, it preserves the correct XQuery semantics. This is accomplished by first translating XQuery into core-XQuery, using a complete XQuery impl...
متن کاملCardinality-aware and purely relational implementation of an XQuery processor
With the rapid growth in the use of XML documents as a universal format for storage and interchange of the data on the Web, several efforts have been made in order to develop efficient techniques for storing and querying XML data. Since XQuery is becoming the standard XML query language, significant effort has been made in developing efficient implementations of XQuery query processor. This the...
متن کاملXQBE: A Graphical Interface for XQuery Engines
XQuery is increasingly popular among computer scientists with a SQL background, since queries in XQuery and SQL require comparable skills to be formulated. However, the number of these experts is limited, and the availability of easier XQuery “dialects” could be extremely valuable. Something similar happened with QBE, initially proposed as an alternative to SQL, that has then become popular as ...
متن کاملTranslating SPARQL and SQL to XQuery
In our community there are three main models for representing and processing data: Relations, XML and RDF. Each of these models has its "sweet spot" for applications and its own query language; very few implementations cater for more than one of these. We describe a uniform platform which provides interfaces for different query languages to retrieve andmodify the same information or combine it ...
متن کاملIsolating Order Semantics in Order-Sensitive XQuery-to-SQL Translation
Order is essential for XML query processing. Efficient XML processing with order consideration over relational storage is non-trivial, especially for complex nested XQuery expressions. The order semantics may impede efficient query rewriting for nested query blocks. We propose a general order-sensitive XQuery processing approach involving three steps. First an algorithm is proposed for inferenc...
متن کامل